<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${request.getContextPath()}/topo2/getEqpWip"
          method="post">
        <div class="bjui-searchBar">
            <input type="hidden" name="eqpid" value="${params.eqpid}"/>
        </div>
    </form>
</div>

<div class="bjui-pageContent tableContent">
    <g:if test="${getEqp.size() > 0}">
        <div>
            <table data-toggle="tablefixed" data-width="100%" data-nowrap="true" class="table table-bordered"
                   id="getEqp">
                <thead>
                <tr>
                    <g:each in="${tableHeadList}" status="j" var="headInstance">
                        <th><g:message code="${headInstance}" default="${headInstance}"/></th>
                    </g:each>
                </tr>
                </thead>
                <tbody>
                <g:each in="${getEqp}" status="i" var="dataInstance">
                    <tr>
                        <g:each in="${tableHeadList}" status="j" var="headInstance">
                            <td>${dataInstance["${headInstance}"]}</td>
                        </g:each>
                    </tr>
                </g:each>
                <tbody>
            </table>
        </div>
    </g:if>
    <br>
    <g:if test="${lotsAndWafer.size() > 0}">
        <div>
            <table data-toggle="tablefixed" data-width="100%" data-nowrap="true" class="table table-bordered"
                   id="lotsAndWafer">
                <thead>
                <tr>
                    <g:each in="${tableHeadList3}" status="j" var="headInstance">
                        <th><g:message code="${headInstance}" default="${headInstance}"/></th>
                    </g:each>
                </tr>
                </thead>
                <tbody>
                <g:each in="${lotsAndWafer}" status="i" var="dataInstance">
                    <tr>
                        <g:each in="${tableHeadList3}" status="j" var="headInstance">
                            <td>${dataInstance["${headInstance}"]}</td>
                        </g:each>
                    </tr>
                </g:each>
                <tbody>
            </table>
        </div>
    </g:if>
    <g:if test="${getEqpWiP.size() > 0}">
        <div>
            <table data-toggle="tablefixed" data-width="100%" data-nowrap="true" class="table table-bordered"
                   id="getEqpWiP">
                <thead>
                <tr>
                    <g:each in="${tableHeadList2}" status="j" var="headInstance">
                        <th><g:message code="${headInstance}" default="${headInstance}"/></th>
                    </g:each>
                </tr>
                </thead>
                <tbody>
                <g:each in="${getEqpWiP}" status="i" var="dataInstance">
                    <tr>
                        <g:each in="${tableHeadList2}" status="j" var="headInstance">
                            <td>${dataInstance["${headInstance}"]}</td>
                        </g:each>
                    </tr>
                </g:each>
                <tbody>
            </table>
        </div>
    </g:if><br>

</div>

<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
    </ul>
</div>